INCLUDEPATH += $(QTDIR)/src/3rdparty/freetype/include \
               $(QTDIR)/src/3rdparty/freetype/include/freetype2
HEADERS = plotter.h \
    sfplotscanview.h \
    stepper.h \
    coutline.h \
    plt.h \
    keyboard.h
FORMS = plotter.ui
SOURCES = plotter.cpp \
    main.cpp \
    sfplotscanview.cpp \
    stepper.cpp \
    coutline.cpp \
    plt.cpp \
    keyboard.cpp
LIBS += -lfreetype
win32 { 
    DEFINES += win32
    LIBS += -L$(QTDIR)/src/3rdparty/freetype/objs/libs
}

CONFIG(debug, debug|release) {
    win32:TARGET = plotterw_d
    DEFINES += DEBUG
}
else {
    win32:TARGET = plotterw
}

RESOURCES += plotter.qrc
unix {
  isEqual(QT_ARCH,x86_64) {
    LIBS += -L$(QTDIR)/src/3rdparty/freetype/objs/.libs
    TARGET = plotterl
    DEFINES += LIN64
  }
  isEqual(QT_ARCH, arm) {
    LIBS += -L$(QTDIR)/src/3rdparty/freetype/lib
    TARGET = plottera
    DEFINES += ARM32
  }
}
